<?php
namespace app\index\controller;
use app\common\service\UserPermission;
class Test
{
    public function index()
    {
        $userPermissionService = new UserPermission();
        $userPermissionService ->getAllPermissions();
    }
}
